<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="theBeans.*,java.util.ArrayList,java.util.List" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%//w %>
	<font align="center" size=16 color=red> 用户注册 </font>
	<form name="examOptions" id="examOptionsForm" action="submitServlet" method="post">
		<table align="center" width="900">
			<tbody>
				<tr>
					<td></td>
					<td>#</td>
					<td>科目</td>
					<td>级别</td>
					<td>费用</td>
					<td>剩余容量</td>
				</tr>
				<%List<examInfo> examList=(ArrayList<examInfo>)session.getAttribute("examList");%>
				<%for(int i=0;i<examList.size();i++)
					{
					examInfo examInfoOption=examList.get(i);
				%>
				<tr>
					<td>
					<input name="eid" type="radio" value=<%=examInfoOption.getEid()%>>
					</td>
					
					<td>
					<input name="description" type="text" value=<%=examInfoOption.getDetails()%> >
					</td>
				</tr>
				<%
					}
				%>
				<tr>
					<td colspan="2"><input type="submit" id="submit" value="提交"></td>
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>